package com.nanhai.buddhist.college.module.study.controller.teacher.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

import static com.nanhai.buddhist.college.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @author AKai
 * @date 2022/9/30
 */
@Data
public class StudentClockListReqVO {

    @ApiModelProperty(value = "上课时间ID", required = true)
    @NotNull(message = "上课时间ID不能为空")
    private Integer studyTimeId;

    @ApiModelProperty(value = "星期", required = true)
    @NotNull(message = "星期不能为空")
    private Integer weekId;

    @ApiModelProperty(value = "")
    @NotNull(message = "班级ID不能为空")
    private String classesId;

    @ApiModelProperty(value = "")
    @NotNull(message = "课程ID不能为空")
    private String subjectId;

    @ApiModelProperty("查询时间")
    @NotNull(message = "查询时间不能为空")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date findTime;


    @ApiModelProperty(value = "上下课   1上课  2下课", required = true)
    @NotNull(message = "上下课不能为空")
    private Integer upDown;

}
